[sed] Multiline trimming

Posted by wwrob on Stack Overflow See other posts from Stack Overflow or by wwrob
Published on 2010-04-11T20:33:02Z Indexed on 2010/04/11 20:43 UTC
Read the original article Hit count: 205

Filed under:
|
|
|

I have a html file that I want to trim. I want to remove a section from the beginning all the way to a given string, and from another string to the end. How do I do that, preferably using sed?

© Stack Overflow or respective owner

Related posts about linux

Related posts about unix